$(function() {
	$('form.validate').validate({
		rules: {username: 'required', password: 'required'}
	});


	if (window.location.search) {
		$('<p class="error_login">Access Denied | username or password is invalid.</p>').prependTo('.login');
	}
})